﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class 实验二_2_3_App : System.Web.UI.Page
{

    protected void Page_Load(object sender, EventArgs e)
    {
        Response.Write("<div>this is a message with no encode!</div>");
        Response.Write(Server.HtmlEncode("<div>this is a message with encode!</div>"));
        Response.Write("<br>");

        Response.Write("<a href='../../实验二/2-1/UserPage.aspx?name=张     三'" + "'>this is a message with no encode!</a>");
        Response.Write("<br>");
        Response.Write("<a href='../../实验二/2-1/UserPage.aspx?name=" + Server.UrlEncode("张     三") + "'>this is a message with encode!</a>");


    }
}